<?php
/**
 * Created by PhpStorm.
 * User: mars
 * Date: 2019/1/26
 * Time: 3:38 PM
 */

namespace api\controllers;


use api\models\rules\GoodsRule;

class RuleController extends BaseController
{
    public $modelClass = "api\models\VipRule";

    public function actionAdd()
    {
        $auth = \Yii::$app->authManager;
        $rule = new GoodsRule();
        $auth->add($rule);
    }


}